package com.cy;

import javax.xml.ws.Endpoint;

public class ServiceMain {
    public static void main(String[] args) {
        String address = "http://localhost:8080/JWSofDengJL";
        Endpoint.publish(address, new ServiceImpl());
        System.out.println("Web Service发布成功！");
        System.out.println("WSDL地址: " + address + "?wsdl");
    }
}